package com.ebocy.hammer.core.constants;

public interface GameConstants {
	/** 逗号分隔符 */
	public static final String SPLIT_SIGN_COMMA = ",";
	/** 分号分隔符 */
	public static final String SPLIT_SIGN_SEMICOLON = ";";
	/** 冒号分隔符 */
	public static final String SPLIT_SIGN_COLON = ":";

	public enum DataBaseEnum {
		/** 基础数据库 */
		BASE("hammerbase"),
		/** 战斗数据库 */
		BATTLE("hammerbattle");
		private String name;

		private DataBaseEnum(String name) {
			this.name = name;
		}
	}

	public static final int CLIENT_TIME_OUT_MINUTE = 3; // 超时未响应断开时间

	public static final int TEAM_MEMBERS_TOP_LIMIT = 3; // 房间总人数
	public static final byte COMBAT_PREPARE_TIME_SECOND = 5; // 秒
	public static final byte COMBAT_ROUND_TIME_MINUTE = 4; // 分钟

	public static final byte DEFAULT_TEAM_ID = 1; // 默认团队ID

	// 战斗结束奖励
	public static final short[] WIN_TEAM_REWARD_EXP = { 22, 26 };
	public static final short[] WIN_TEAM_REWARD_COIN = { 10, 12 };
	public static final short[] FAIL_TEAM_REWARD_EXP = { 7, 12 };
	public static final short[] FAIL_TEAM_REWARD_COIN = { 0, 3 };

	// 掉落概率
	public static final short[] DROP_ITEM_RANGE = { 2003, 2024, 2027 };

}
